#include "transparentlistview.h"
#include <QMouseEvent>

TransparentListView::TransparentListView(QWidget* parent)
    : QListView(parent)
{
}

void TransparentListView::mousePressEvent(QMouseEvent* event)
{
    event->ignore(); // 忽略事件，让它继续传播
    QListView::mousePressEvent(event);
}

void TransparentListView::mouseMoveEvent(QMouseEvent* event)
{
    event->ignore(); // 忽略事件，让它继续传播
    QListView::mouseMoveEvent(event);
}

void TransparentListView::mouseReleaseEvent(QMouseEvent* event)
{
    event->ignore(); // 忽略事件，让它继续传播
    QListView::mouseReleaseEvent(event);
} 